      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
        <h4 class="modal-title" id="myModalLabel">Detail Data Pegawai</h4>
      </div>
    <div class="modal-body">
	  
	  <table class="table table-striped table-bordered table-hover table-condensed">
		<?php 						
			foreach ($list as $row){ 
		?>
			<tr>
				<td class="col-sm-2">NIP</td>
				<td class="col-sm-10"><?php echo $row->id_mr_pegawai; ?></td>
			</tr>
			
			<tr>
				<td class="col-sm-2">Nama Lengkap</td>
				<td class="col-sm-10"><?php echo $row->nm_pegawai; ?></td>
			</tr>
			
			<tr>
				<td class="col-sm-2">Jenis Kelamin</td>
				<td class="col-sm-10"><?php if ($row->jk == 'L'){echo "Laki-laki";}else{echo "Perempuan";} ?></td>
			</tr>
			
			<tr>
				<td class="col-sm-2">TTL</td>
				<td class="col-sm-10"><?php echo $row->tmp_lahir.', '.date("d-m-Y", strtotime ($row->tgl_lahir));; ?></td>
			</tr>
			
			<tr>
				<td class="col-sm-2">Ijazah Terakhir</td>
				<td class="col-sm-10"><?php echo $row->pendidikan; ?></td>
			</tr>
			
			<tr>
				<td class="col-sm-2">Agama</td>
				<td class="col-sm-10"><?php echo $row->agama; ?></td>
			</tr>
			
			<tr>
				<td class="col-sm-2">No. Tlp</td>
				<td class="col-sm-10"><?php echo $row->tlp; ?></td>
			</tr>
			
			<tr>
				<td class="col-sm-2">Email</td>
				<td class="col-sm-10"><a href="mailto:<?php echo $row->email; ?>"><?php echo $row->email; ?></a></td>
			</tr>
			
			<tr>
				<td class="col-sm-2">Alamat</td>
				<td class="col-sm-10"><?php echo $row->alamat; ?></td>
			</tr>
		<?php 
			}						
		?>
		</table>
	</div>   